﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Internal.Master" Inherits="BPM.Web.ViewPage" %>

<%@ Import Namespace="BPM" %>
<%@ Import Namespace="BPM.Entity" %>
<asp:Content ID="c1" ContentPlaceHolderID="TitleContent" runat="server">
	物料入库
</asp:Content>
<asp:Content ID="c3" ContentPlaceHolderID="ScriptStyleContent" runat="server">
	<style type="text/css">
		.orderTitle
		{
			margin: 10px;
			color: Green;
			font-size: large;
			text-align: center;
		}
		#warning
		{
			margin: 10px;
			color: Red;
			font-size: large;
			text-align: center;
		}
	</style>
</asp:Content>
<asp:Content ID="c2" ContentPlaceHolderID="MainContent" runat="server">
	<%
		var httpGet = this.ViewContext.HttpContext.Request.HttpMethod.ToLower() == "get";// ? "true" : "false";
	%>
	<%
		if (httpGet)
		{ 
	%>
	<div id="warning">
		请刷条码
	</div>
	<%
		}
	%>
	<table id="materialTable" class="altTable" cellpadding="0" cellspacing="0">
		<thead>
			<tr>
				<td>
					图片
				</td>
				<td>
					物料条码
				</td>
				<td>
					物料型号
				</td>
				<td>
					数量
				</td>
			</tr>
		</thead>
		<tbody>
			<!--内容由JS添加-->
		</tbody>
	</table>
	<div id="orderTableContainer" style="display: none;">
		<div class="orderTitle">
			选择匹配的进货单:
		</div>
		<table id="orderTable" class="altTable" cellpadding="0" cellspacing="0">
			<thead>
				<tr>
					<td>
					</td>
					<td>
						进货单条码
					</td>
					<td>
						进货单提交时间
					</td>
					<td>
						提交人
					</td>
					<td>
						剩余物料数
					</td>
				</tr>
			</thead>
			<tbody>
				<!--内容由JS添加-->
			</tbody>
		</table>
	</div>
	<p id="pConfirm" style="display: none;">
		<input type="button" value="确认" onclick="return submitAllData()" />
	</p>
</asp:Content>
